package com.ruoyi.manager.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备管理对象 tb_vending_machine
 * 
 * @author ruoyi
 * @date 2025-04-19
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class VendingMachine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备ID */
    private Long id;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private String innerCode;

    /** 设备区域地址 */
    @Excel(name = "设备区域地址")
    private Long nodeId;

    /** 设备最大容量 */
    private Long channelMaxCapacity;

    /** 设备地址 */
    private String addr;

    /** 上次补货时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上次补货时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastSupplyTime;

    /** 商圈类型 */
    private Long businessType;

    /** 区域ID */
    @Excel(name = "区域ID")
    private Long regionId;

    /** 合作商ID */
    @Excel(name = "合作商ID")
    private Long partnerId;

    /** 设备类型ID */
    @Excel(name = "设备类型ID")
    private Long vmTypeId;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private Long vmStatus;

    /** 运行状态 */
    @Excel(name = "运行状态")
    private Long runningStatus;

    /** 经度 */
    private Long longitude;

    /** 纬度 */
    private Long latitude;

    /** 客户端ID */
    @Excel(name = "客户端ID")
    private String clientId;

    /** 策略ID */
    @Excel(name = "策略ID")
    private String policyId;


}
